﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameLibrary.Settlement
{ 
    /// <summary>
    /// Represent a building.
    /// </summary>
    [Serializable]
    public class BuildingType
    {
        #region variables

        public string Name { get; private set; }
        /// <summary>
        /// Material cost to build
        /// </summary>
        public uint Cost { get; private set; }

        /// <summary>
        /// Where this building can be build
        /// </summary>
        public SettlementFlags Availability { get; private set; }

        #endregion

        #region constructor

        public BuildingType (
            string name, 
            uint cost, 
            SettlementFlags availability)
        {
            this.Name = name;
            this.Cost = cost;
            this.Availability = availability;
        }

        #endregion
    }
}
